package com.woniuxy.classdeans.service.impl;

import com.woniuxy.classdeans.mapper.StudentScoreMapper;
import com.woniuxy.classdeans.service.StudentScoreService;
import com.woniuxy.commons.entity.wyh.StudentScore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wangyanhui
 * @date 2020/8/1 - 20:42
 */
@Service
public class StudentScoreServiceImpl implements StudentScoreService {
   @Autowired
   private StudentScoreMapper studentScoreMapper;

   //根据学生id获取所有
    @Override
    public List<StudentScore> getByStuid(int stuid) {
        return studentScoreMapper.getByStuid(stuid);
    }
}
